package cn.zhizihua.mapper;

import cn.zhizihua.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User>,PageMapper<User>{

    //通过用户名查询用户
    @Select("select * from user where username=#{username}")
    User getByUserName(String userName);
}
